package com.ruoyi.merchant.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.merchant.mapper.AbilityassessmentFeelcommMapper;
import com.ruoyi.merchant.domain.AbilityassessmentFeelcomm;
import com.ruoyi.merchant.service.IAbilityassessmentFeelcommService;

/**
 * 能力评估-感知与沟通Service业务层处理
 * 
 * @author chengxin.ju
 * @date 2023-12-24
 */
@Service
public class AbilityassessmentFeelcommServiceImpl implements IAbilityassessmentFeelcommService 
{
    @Autowired
    private AbilityassessmentFeelcommMapper abilityassessmentFeelcommMapper;

    /**
     * 查询能力评估-感知与沟通
     * 
     * @param ID 能力评估-感知与沟通主键
     * @return 能力评估-感知与沟通
     */
    @Override
    public AbilityassessmentFeelcomm selectAbilityassessmentFeelcommByID(String ID)
    {
        return abilityassessmentFeelcommMapper.selectAbilityassessmentFeelcommByID(ID);
    }

    /**
     * 查询能力评估-感知与沟通列表
     * 
     * @param abilityassessmentFeelcomm 能力评估-感知与沟通
     * @return 能力评估-感知与沟通
     */
    @Override
    public List<AbilityassessmentFeelcomm> selectAbilityassessmentFeelcommList(AbilityassessmentFeelcomm abilityassessmentFeelcomm)
    {
        return abilityassessmentFeelcommMapper.selectAbilityassessmentFeelcommList(abilityassessmentFeelcomm);
    }

    /**
     * 新增能力评估-感知与沟通
     * 
     * @param abilityassessmentFeelcomm 能力评估-感知与沟通
     * @return 结果
     */
    @Override
    public int insertAbilityassessmentFeelcomm(AbilityassessmentFeelcomm abilityassessmentFeelcomm)
    {
        return abilityassessmentFeelcommMapper.insertAbilityassessmentFeelcomm(abilityassessmentFeelcomm);
    }

    /**
     * 修改能力评估-感知与沟通
     * 
     * @param abilityassessmentFeelcomm 能力评估-感知与沟通
     * @return 结果
     */
    @Override
    public int updateAbilityassessmentFeelcomm(AbilityassessmentFeelcomm abilityassessmentFeelcomm)
    {
        return abilityassessmentFeelcommMapper.updateAbilityassessmentFeelcomm(abilityassessmentFeelcomm);
    }

    /**
     * 批量删除能力评估-感知与沟通
     * 
     * @param IDs 需要删除的能力评估-感知与沟通主键
     * @return 结果
     */
    @Override
    public int deleteAbilityassessmentFeelcommByIDs(String[] IDs)
    {
        return abilityassessmentFeelcommMapper.deleteAbilityassessmentFeelcommByIDs(IDs);
    }

    /**
     * 删除能力评估-感知与沟通信息
     * 
     * @param ID 能力评估-感知与沟通主键
     * @return 结果
     */
    @Override
    public int deleteAbilityassessmentFeelcommByID(String ID)
    {
        return abilityassessmentFeelcommMapper.deleteAbilityassessmentFeelcommByID(ID);
    }

    @Override
    public AbilityassessmentFeelcomm selectAbilityassessmentFeelcommByBaseId(String baseId) {
        return abilityassessmentFeelcommMapper.selectAbilityassessmentFeelcommByBaseId(baseId);
    }
}
